﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using EntitiesLayer.Entities;
using DataLayer.DAO;

namespace BusinnesLayer.LogicBusiness
{
    public class Combosbl
    {
        public List<Combos> GetAllComboRelaPaci()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboRelaPaci();
        }

        public List<Combos> GetAllComboSituacionResultado()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboSituacionResultado();
        }

        public List<Combos> GetAllComboTipoDocum()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboTipoDocum();
        }

        public List<Combos> GetAllComboSede()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboSede();
        }

        public List<Combos> GetAllComboUniNegocio()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboUniNegocio();
        }

        public List<Combos> GetAllComboArea(string codigo)
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboArea(codigo);
        }

        
        public List<Combos> GetAllComboArea()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboArea("300");
        }






        public List<Combos> GetAllComboOrigen()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboOrigen();
        }

        public List<Combos> GetAllComboSeguros()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboSeguros();
        }

        public List<Combos> GetAllComboTipoPaci()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboTipoPaci();
        }

        public List<Combos> GetAllComboDpto()
        { 
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboDpto();
        }

        public List<Combos> GetAllComboProv(string depto)
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboProv(depto);
        }

        public List<Combos> GetAllComboDist(string dist)
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboDist(dist);
        }

        public List<Combos> GetAllComboMotivoGeneral()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboMotivoGeneral();
        }
        public List<Combos> GetAllComboMotivoEspecifico(string motivoGeneral)
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboMotivoEspecifico(motivoGeneral);
        }

        public List<Combos> GetAllComboTipoSeguro()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboTipoSeguro();
        }

        public List<Combos> GetAllComboEstadoAnalisisCausa()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboEstadoAnalisisCausa();
        }

        public List<Combos> GetAllComboCorreo()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboCorreo();
        }     

        

        ///////////////////////////////////////////(Jorge)

        public List<Combos> GetAllComboServicio()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboServicio();
        }

        public List<Combos> GetAllComboUsuario()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboUsuario();
        }

        public List<Combos> GetAllComboPresentacion()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboPresentacion();
        }

        public List<Combos> GetAllComboTipoSugerencia()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboTipoSugerencia();
        }

        public List<Combos> GetAllComboEstadoAccion()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboEstadoAccion();
        }

        public List<Combos> GetAllComboEstadoSolicitud()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboEstadoSolicitud();
        }

        public List<Combos> GetAllComboProveedor()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboProveedor();
        }

        public List<Combos> GetAllComboRequisito()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboRequisito();
        }

        public List<Combos> GetAllComboPerfil()
        {
            CombosDao cdao = new CombosDao();
            return cdao.getAllComboPerfil();
        }


        #region Edy

        public List<Combos> getAllComboTipoQueja()
        {
                try
                {
                    CombosDao cdao = new CombosDao();
                    return cdao.getAllComboTipoQueja();
                }
                catch (Exception ex)
                {
                    throw ex;
                }
            }
        }

        #endregion

    }

